package com.tangsw.springbootdemo.bo;

import lombok.Data;
import sun.jvm.hotspot.oops.ObjectHeap;

import java.io.Serializable;

@Data
public class ResultBO<T> implements Serializable {

    private static final long serialVersionUID = -6687286972476369702L;

    public ResultBO() {

    }

    public ResultBO(String resultCode, String resultMessage, String resultUrl, T result) {
        this.resultCode = resultCode;
        this.resultMessage = resultMessage;
        this.resultUrl = resultUrl;
        this.result = result;
    }
    public ResultBO(String resultCode, String resultMessage, String resultUrl) {
        this(resultCode,resultMessage,resultUrl,null);
    }
    private String resultCode;

    private String resultMessage;

    private String resultUrl;

    private T result;
}
